package com.gensdai.leliang.entity;

import com.bluelinelabs.logansquare.annotation.JsonObject;

/**
 * 用户类的实体
 * Created by Administrator on 2017/5/24.
 */
@JsonObject
public class UserNameBean {
    /**
     * uid : 1
     * username : 12154545
     * name : 吴系挂
     * groupid : 2
     * reg_time : 1436864169
     * last_login_time : 0
     */

    private String uid;
    private String username;
    private String name;
    private String token;
    private String phone; //用户手机号
    private int groupid;
    private String reg_time;
    private String last_login_time;
    private boolean hasPayPassword;
    private String daishouNum;//待收货
    private String user_img;// 用户头像
    private String daifuNum;//待付
    private String waitComment;//待评论
    private String userno;// 用户编号
    private String daifaNum; //待发
    private Address address; // 默认地址
    private String money; // 总金额
    private String grouthBeiBlance; //成长贝余
    private String grouthJinBlance; //成长金余
    private String grouthBei; //成长贝总
    private String grouthJin; //成长金总
//    private String availableAmount; //剩余金额
    private String totalAmount; //总资产
    private String inviteNumber; //邀请码
    private String memberType; // 会员类型

    private String ifBindQQ; // QQ绑定状态
    private String ifBindWeChat; // 微信绑定状态

    private appModule mappModule; //权限
    private String level; // 会员类型


    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getIfBindQQ() {
        return ifBindQQ;
    }

    public void setIfBindQQ(String ifBindQQ) {
        this.ifBindQQ = ifBindQQ;
    }

    public String getIfBindWeChat() {
        return ifBindWeChat;
    }

    public void setIfBindWeChat(String ifBindWeChat) {
        this.ifBindWeChat = ifBindWeChat;
    }

    public String getWaitComment() {
        return waitComment;
    }

    public void setWaitComment(String waitComment) {
        this.waitComment = waitComment;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getGrouthBeiBlance() {
        return grouthBeiBlance;
    }

    public void setGrouthBeiBlance(String grouthBeiBlance) {
        this.grouthBeiBlance = grouthBeiBlance;
    }

    public String getGrouthJinBlance() {
        return grouthJinBlance;
    }

    public void setGrouthJinBlance(String grouthJinBlance) {
        this.grouthJinBlance = grouthJinBlance;
    }

    public String getMemberType() {
        return memberType;
    }

    public void setMemberType(String memberType) {
        this.memberType = memberType;
    }

    public String getGrouthJin() {
        return grouthJin;
    }

    public void setGrouthJin(String grouthJin) {
        this.grouthJin = grouthJin;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getGrouthBei() {
        return grouthBei;
    }

    public void setGrouthBei(String grouthBei) {
        this.grouthBei = grouthBei;
    }

    public String getInviteNumber() {
        return inviteNumber;
    }

    public void setInviteNumber(String inviteNumber) {
        this.inviteNumber = inviteNumber;
    }

    public String getUserno() {
        return userno;
    }

    public void setUserno(String userno) {
        this.userno = userno;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUser_img() {
        return user_img;
    }

    public void setUser_img(String user_img) {
        this.user_img = user_img;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String getDaishouNum() {
        return daishouNum;
    }

    public void setDaishouNum(String daishouNum) {
        this.daishouNum = daishouNum;
    }

    public String getDaifuNum() {
        return daifuNum;
    }

    public void setDaifuNum(String daifuNum) {
        this.daifuNum = daifuNum;
    }

    public String getDaifaNum() {
        return daifaNum;
    }

    public void setDaifaNum(String daifaNum) {
        this.daifaNum = daifaNum;
    }

    public boolean getHasPayPassword() {
        return hasPayPassword;
    }

    public void setHasPayPassword(boolean hasPayPassword) {
        this.hasPayPassword = hasPayPassword;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    private String id;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGroupid() {
        return groupid;
    }

    public void setGroupid(int groupid) {
        this.groupid = groupid;
    }

    public String getReg_time() {
        return reg_time;
    }

    public void setReg_time(String reg_time) {
        this.reg_time = reg_time;
    }

    public String getLast_login_time() {
        return last_login_time;
    }

    public void setLast_login_time(String last_login_time) {
        this.last_login_time = last_login_time;
    }
    public appModule getMappModule() {
        return mappModule;
    }

    public void setMappModule(appModule mappModule) {
        this.mappModule = mappModule;
    }
    public static class appModule{   //0：无权限、1：有权限
        public String myWallet;
        public String bindAlipay;
        public String contactUs;
        public String receiveAddress;
        public String changePassword;
        public String inviteFriends;
        public String myCollection;
    }
}
